package com.sky.mapper.admin;

import com.sky.pojo.DishFlavor;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import javax.swing.*;
import java.util.List;

@Mapper

public interface DishFlavorMapper {
    int insertDishFlavor(@Param("list") List<DishFlavor> flavors);
    List<DishFlavor> selectByDishId(Long id);

    int deletByDishId(@Param("list") List<Long> id );
}
